package com.ahau.springcloud.service;

import com.ahau.springcloud.entities.CommonResult;
import org.springframework.stereotype.Component;

/**
 * @Author xiao hu die
 * @Date 2021/12/22 21:44
 * @Version 1.0
 */
@Component
public class PaymentHystrixService implements PaymentFeignService{
    @Override
    public CommonResult selectOne(Long id) {
        return null;
    }

    @Override
    public String PaymentFeginTimeout() {
        return "运行报错或者服务宕机了，这个错误是必须处理的";
    }
}
